﻿@model TCM.MAPSTRINGBASE

@{
    ViewBag.Title = "Edit";
}



<table style="width: 99.9%">
        <tr>
            <td class="IndexBack">
                @Html.ActionLink(" ", "Index")</td>
            <td style="text-align: right">
                <span class="FormTitle">@Html.DisplayFor(model => model.MAPSTRINGBASE1 )</span></td>
        </tr>
    </table>
<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>MAPSTRINGBASE</legend>
        <ol>
        <li>@Html.HiddenFor(Model=> Model.MAPSTRINGID)</li>
       @* <li class="editor-label">
            @Html.LabelFor(model => model.MAPSTRINGID, "Subject")
        </li>
        <li class="editor-field">
            @Html.DropDownList("MAPSTRINGID", String.Empty)
            @Html.ValidationMessageFor(model => model.MAPSTRINGID)
        </li>*@     

        <li class="editor-label">
            @Html.LabelFor(model => model.DISPLAYNAME)
     
            @Html.EditorFor(model => model.DISPLAYNAME)
            @Html.ValidationMessageFor(model => model.DISPLAYNAME)
        </li>

         <li class="editor-label">
            @Html.LabelFor(model => model.DISPLAYVALUE)
      
            @Html.EditorFor(model => model.DISPLAYVALUE)
            @Html.ValidationMessageFor(model => model.DISPLAYVALUE)
        </li>       

        <li class="editor-label">
            @Html.LabelFor(model => model.ENTITYNAME)
      
            @Html.EditorFor(model => model.ENTITYNAME)
            @Html.ValidationMessageFor(model => model.ENTITYNAME)
        </li>

         <li class="editor-label">
            @Html.LabelFor(model => model.ATTRIBUTENAME)
       
            @Html.EditorFor(model => model.ATTRIBUTENAME)
            @Html.ValidationMessageFor(model => model.ATTRIBUTENAME)
        </li>      

        @* <li class="editor-label">
            @Html.LabelFor(model => model.StatusID)
        </li>
        <li class="editor-field">
            @Html.DropDownList("StatusID", String.Empty)
            @Html.ValidationMessageFor(model => model.StatusID)
        </li>*@

         <li class="display-label">
         @Html.DisplayNameFor(model => model.DELETECODE)
       
            @Html.DisplayFor(model => model.DELETECODE)
        </li>

         <li class="display-label">
         @Html.DisplayNameFor(model => model.CreatedBy)
      
            @Html.DisplayFor(model => model.CreatedBy)
        </li>
         <li class="display-label">
         @Html.DisplayNameFor(model => model.CREATEDON)
        
            @Html.DisplayFor(model => model.CREATEDON)
        </li>
        <li class="display-label">
         @Html.DisplayNameFor(model => model.MODIFIEDBY)
      
            @Html.DisplayFor(model => model.MODIFIEDBY)
        </li>
         <li class="display-label">
         @Html.DisplayNameFor(model => model.MODIFIEDON)
       
            @Html.DisplayFor(model => model.MODIFIEDON)
        </li>
        <li class="display-label">
         @Html.DisplayNameFor(model => model.OWNERID)
       
            @Html.DisplayFor(model => model.OWNERID)
        </li>

        <p>
            <input type="submit" value="Save" />
        </p>
        </ol>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
